Skip to content

Week6 homework#13

Open
iwaseem wants to merge 1 commit intohackyourfuturecanada:masterfrom
iwaseem:master
Open

Week6 homework#13
iwaseem wants to merge 1 commit intohackyourfuturecanada:masterfrom
iwaseem:master

Conversation

@iwaseem
Copy link
Copy Markdown

@iwaseem iwaseem commented Aug 30, 2019

No description provided.

Comment thread Week6.js
//console.log('Aloha kākou honua!');

//Q2
//console.log('Im awesome');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should still keep the quote in the string!

You can escape the quote like this:

console.log('I\'m awesome');

Or use double quotes for your outer quotes like this:

console.log("I\'m awesome");

Comment thread Week6.js
/*
//Q3
let age;
console.log ('You still Young, your age is:');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄
the instructions were asking you what you think the value of age is on line 17 before you give it a value.

Comment thread Week6.js

//Q6
/*
var petStore = ('');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An array uses square brackets. Declaring an empty array would be this:

var petStore = [];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants